]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Adapt to ClutterGrab becoming a GObject
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 22 Nov 2023 12:06:17 +0000 (13:06 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 13 Feb 2024 11:49:28 +0000 (11:49 +0000)
Change the unref function, since it's no longer a boxed type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>

src/st/st-scroll-bar.c

index 270f3f2db6b244341bde5b027310676654e61dad..7b2d4987eac0d2f606bbbb8dd3f1b48acbc1ef62 100644 (file)
@@ -644,7 +644,7 @@ stop_scrolling (StScrollBar *bar)
   if (priv->grab)
     {
       clutter_grab_dismiss (priv->grab);
-      g_clear_pointer (&priv->grab, clutter_grab_unref);
+      g_clear_object (&priv->grab);
     }
 
   priv->grab_device = NULL;